package com.clss.commandhelper.function.homefragment4th;

import android.content.Context;

import com.clss.commandhelper.base.BaseJson;
import com.clss.commandhelper.base.BaseModel;
import com.clss.commandhelper.net.ApiClient;
import com.clss.commandhelper.tools.SpHelper;

import retrofit2.Callback;

/**
 *
 * @author liuv
 * @date 2017/12/5
 */

public class Home4thModel extends BaseModel {
    private static final String TAG = "Home2ndModel";

    public Home4thModel(Context context) {
        super(context);
    }

    public void getTaskList(Callback<BaseJson> callback){
        mCall = ApiClient.apiList.searchTaskList(SpHelper.getInstance().getToken());
        mCall.enqueue(callback);
    }
}
